/**
 * 
 */
package com.jytc.framework.bo;

import javax.servlet.http.HttpServletRequest;

/**
 * @title: 
 * @description: 
 * 
 * @author: dongyuese
 *
 */
public interface FwLoginBO
{
	/**
	 * 根据登录名和密码登录
	 * 
	 * @param resultInfo
	 *                ResultInfo
	 * @param frameLogin
	 *                FrameLogin
	 * @param request
	 *                HttpServletRequest
	 * @throws Exception
	 *                 抛出异常
	 */
	int login(String loginName, String loginPwd, String checkCode, HttpServletRequest request) throws Exception;

	/**
	 * 根据密码和新密码 进行密码修改
	 * @param loginPwd 原来的密码
	 * @param newLoginPwd 新密码
	 * @return 成功或者失败
	 * @throws Exception  抛出异常
	 */
	int updPassword(String loginPwd, String newLoginPwd, HttpServletRequest request) throws Exception;

}
